$colorselect: #58bd7a;

.page-all {
  height: 100%;
  background: linear-gradient(180deg, #B4C2FF 0%, #B4C2FF 42%, #ECEDF9 100%);
}

.banner {
  display: flex;
  align-items: center;
  background-image: url('~@/assets/images/head.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  margin-bottom: .1rem;
  position: relative;
  height: .94rem;
  width: 13.36rem;

  .banner_user_id {
    color: #fff;
    font-size: 0.18rem;
    margin: 0.56rem 0 0 0.23rem;
  }


}

.all-banner {
  .nav {
    font-size: .14rem;
    color: #6B6F7A;
    line-height: .2rem;
    .nav-arrow,
    .nav-link {
      color: #6B6F7A 
    }
    .nav-link {
      cursor: pointer;
    }
    .nav-page {
      color: #1D2333;
     }
  }
}


.el-tabs {
  display: flex;
  flex-direction: column;
  flex: 1;

  ::v-deep {
    .el-tabs__nav-wrap {
      padding-bottom: 1px;

      &::after {
        height: 1px;
        background-color: #E8E8EA;
      }
    }

    .el-tabs__content {
      display: flex;
      flex: 1;
    }

    .el-tab-pane {
      display: flex;
      flex: 1;
    }

    .el-tabs__nav {
      display: flex;
    }

    .el-tabs__item {
      height: .37rem;
      line-height: .37rem;
      font-size: .15rem;
      color: #1D2333;
      border-radius: 6px 6px 0px 0px;
      padding: 0 0.14rem !important;

      &.is-active {
        background: rgba(83, 90, 218, 0.17);

        color: #1D2333;
      }
    }

    .el-tabs__active-bar {
      background-color: transparent;
    }


  }
}

::v-deep {
  .el-btn-noicon {
    span {
      padding: 0 .15rem !important;
    }
  }



  .el-btn {

    width: 1.07rem;
    height: .3rem;

    background: #535ADA !important;
    border-color: #535ADA !important;
    border-radius: 2px;
    font-size: .14rem;
    padding: 0 !important;

    span {
      display: flex;
      line-height: 0;
      align-items: center;
      justify-content: center;
      padding-right: 0.08rem;
    }

    &:hover {
      background: #535ADA !important;
      border-color: #535ADA !important;
    }

    .svg-icon {
      fill: #fff;
      width: .22rem;
      height: .22rem;
      margin-right: .04rem;
    }

    &.is-disabled,
    &.is-disabled:active,
    &.is-disabled:focus,
    &.is-disabled:hover {
      color: #C8CDE9 !important;
      background: #FFFFFF !important;
      border: 1px solid #C8CDE9 !important;

      .svg-icon {
        fill: #C8CDE9;
      }
    }
  }

  .el-white-btn {
    color: #535ADA !important;
    border: 1px solid #535ADA !important;
    background: #fff !important;

    &:hover {
      background: #fff !important;
      border-color: #535ADA !important;
    }
  }

  .el-btn2 {

    width: 1.07rem;
    height: .3rem;

    background: #535ADA !important;
    border-color: #535ADA !important;
    border-radius: 2px;
    font-size: .14rem;
    padding: 0 !important;

    span {
      display: flex;
      line-height: 0;
      align-items: center;
      justify-content: center;
      padding: 0 0.08rem;
    }

    &:hover {
      background: #535ADA !important;
      border-color: #535ADA !important;
    }

    .svg-icon {
      fill: #fff;
      width: .22rem;
      height: .22rem;
      margin-right: .04rem;
    }

    &.is-disabled,
    &.is-disabled:active,
    &.is-disabled:focus,
    &.is-disabled:hover {
      color: #fff !important;
      background: #DADDEE !important;
      border: 1px solid #DADDEE !important;

      .svg-icon {
        fill: #fff;
      }
    }

  }

  .el-dialog__title {
    font-size: .15rem;
    color: #1D2333;
  }

  .el-dialog__header {
    display: flex;
  }

}

.savefile-btn {
  display: flex;

  button {
    margin-bottom: .25rem
  }
}

.page-all {
  height: 100%;
  padding: .3rem;

  .page-all-body {
    display: flex;
    flex-direction: column;
    padding: 0.11rem .22rem;
    background-color: #fff;
    border-radius: .16rem;
    height: 100%;
    box-sizing: border-box;

    .page-all-body-in {
      height: 100%;
      display: flex;
      flex-direction: column;
      flex: 1;
      position: relative;
    }
  }
}

.guide-help {
  display: flex;
  align-items: center;
  position: absolute;
  top: 1.33rem;
  right: 0;
  font-size: .14rem;
  color: #535ADA;
  z-index: 999;
  cursor: pointer;

  .svg-icon {
    width: .23rem;
    height: .23rem;
    margin-right: .04rem;
  }
}

.main-body {
  display: flex;
  flex: 1;
}

.main-body-left {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 4.85rem;

  .main-body-left-in {
    padding-right: .16rem;
    border-right: 1px solid #E8E8EA;
    margin-right: .16rem;
  }

  .head {
    display: flex;
    font-size: 14px;
    padding-bottom: .3rem;
  }
}

.filedata {
  padding: 0 10px 0 0;
  overflow-y: scroll;
  flex: 1;

  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
  }


  &::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .184);
    border-radius: 4px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .384)
  }

  &::-webkit-scrollbar-corner {
    background: transparent
  }


  &::-webkit-scrollbar-track {
    background: transparent
  }
}

.data-chart {
  flex: 1;
}

.data-info {
  display: flex;
  flex-direction: column;
  width: 3.72rem;

  .data-info-in {
    padding-left: .16rem;
    border-left: 1px solid #E8E8EA;
    margin-left: .16rem;
  }
}

.table-info {
  ::v-deep {
    .el-table__cell {
      padding: 0 !important;
      height: 40px;

      .cell {
        padding: 0 5px !important;
      }
    }
  }
}

.cell-edit {
  ::v-deep {
    .el-input__inner {
      text-align: center;
    }
  }
}

.file-list {
  overflow-y: auto;

  li {
    display: flex;

    cursor: pointer;
    font-size: 14px;



    margin-bottom: 10px;

    .file-body {
      display: flex;

      border-radius: 5px;
      align-items: center;
    }

    .file-list-select-txt {
      color: #535ADA
    }

    &.active {

      .file-body {
        color: #535ADA;
        background-color: #e2f2ff;


      }
    }

    .file-check-box {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 15px;
      height: 15px;
      border-radius: 2px;
      border: 1px solid #535ADA;
      margin-right: 10px;
      margin-top: 2px;

      .svg-icon {
        width: 15px;
        height: 15px;
        fill: #535ADA;
      }
    }

    .file-check-box-checked {
      background-color: #535ADA;
    }
  }
}

.file-list,
.compute-model,
.dot-intersection-list {
  &::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
  }


  &::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .184);
    border-radius: 4px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .384)
  }

  &::-webkit-scrollbar-corner {
    background: transparent
  }


  &::-webkit-scrollbar-track {
    background: transparent
  }
}

.files-list-select {
  li {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    padding: 0 10px;
    height: 28px;
    margin-bottom: 5px;

    &.active {


      .file-body {}

    }
  }
}

.functional-calculation {
  display: flex;
  flex: 1;


  .functional-calculation-left {
    width: 3.16rem;


    .functional-calculation-left-in {
      margin-right: 0.16rem;
      border-right: 1px solid #E8E8EA;
      padding-right: 0.16rem;
    }

    .btns {
      display: flex;
      align-items: center;
      padding-bottom: 0.3rem;
    }
  }

  .functional-calculation-center {

    flex: 1;


    .btns {
      .horizontal-val {
        margin: 0 10px;
      }

      display: flex;
      align-items: center;
    }
  }

  .functional-calculation-right {
    display: flex;
    flex-direction: column;
    width: 3.72rem;
    font-size: 14px;




    .functional-calculation-right-in {
      display: flex;
      flex-direction: column;
      margin-left: 0.16rem;
      padding-left: 0.16rem;
      border-left: 1px solid #E8E8EA;
    }

    .functional-calculation-right-top {
      display: flex;
      flex-direction: column;
      padding-bottom: .12rem;
      box-sizing: border-box;
    }
    .functional-calculation-right-top-in {
      display: flex;
      flex-direction: column;
      background-color: #F0F1F8;
      border-radius: .10rem;
      padding: .12rem;
      box-sizing: border-box;

    }

    .cross-dot-val {
      li {}
    }

    .compute-model {
      padding: .12rem;
      background-color: #F0F1F8;
      border-radius: .10rem;
    }

    .dot-intersection-list {
      height: 1.2rem;
    }

    .compute-model,
    .dot-intersection-list {
      font-size: 14px;
      overflow-y: auto;
      padding-right: 10px;

      &::-webkit-scrollbar {
        width: 6px;
        background-color: transparent;
      }


      &::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .184);
        border-radius: 4px;
      }

      &::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, .384)
      }

      &::-webkit-scrollbar-corner {
        background: transparent
      }


      &::-webkit-scrollbar-track {
        background: transparent
      }

      li {
        display: flex;
        font-size: 14px;
        align-items: center;
        gap: 10px;

        padding: 0 10px 10px;

        cursor: pointer;
        border-radius: 3px;

        .txt {}

        .file-check-box {
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
          width: 15px;
          height: 15px;
          border-radius: 2px;
          border: 1px solid #535ADA;
          margin-right: 10px;

          .svg-icon {
            width: 15px;
            height: 15px;
            fill: #535ADA;
          }
        }

        .file-check-box-checked {
          background-color: #535ADA;
        }

      }
    }
  }
}

.chart {
  display: flex;

}

.cancel-btn {

  color: #535ADA !important;
}

.checkok-btn {
  background-color: #535ADA !important;
  border-color: #535ADA !important;
}

::v-deep {
  .el-dialog__headerbtn {
    .el-dialog__close {
      &:hover {
        color: #535ADA !important;
      }
    }
  }


}

.chart-menu {
  overflow-y: auto;

  .chart-menu-in {
    width: 3.56rem;
    padding-left: .2rem;
  }

  li {
    display: flex;
    padding: .14rem;
  }

  .chart-menu-index {
    display: flex;


    justify-content: center;

    color: #2C51C0;
    font-weight: bold;
    margin-right: .14rem;
    font-size: .2rem;
  }

  .chart-menu-file {

    flex: 1;

    .chart-menu-file-body {
      display: flex;
      padding: 0 0 .12rem 0;
    }

    .chart-menu-title {
      font-size: .11rem;
      color: #6B6F7A;
    }

    .chart-menu-file-name {
      flex: 1;
      width: .12rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #1D2333;
      font-size: .12rem;
    }

    .chart-menu-file-v,
    .chart-menu-file-w {
      display: flex;
      align-items: center;
      justify-content: center;
      width: .7rem;
      color: #1D2333;
      font-weight: bold;
      font-size: .12rem;
    }

    .chart-menu-r {
      display: flex;
      justify-content: space-between;
      font-size: .12rem;

      .chart-menu-r-value {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        width: .7rem;
      }
    }
  }

  &::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
  }


  &::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .184);
    border-radius: 4px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .384)
  }

  &::-webkit-scrollbar-corner {
    background: transparent
  }


  &::-webkit-scrollbar-track {
    background: transparent
  }

  li {
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 5px;

    &.active {
      background-color: #F1F4FF;
    }
  }
}

.chart-body {
  display: flex;
}

.btns-select-all {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  align-items: center;
  .questionmark {
    background-color: #DDDDDD;
    width: .22rem;
    height: .22rem;
    border-radius: 50%;
    cursor: pointer;
    .svg-icon {
      width: .22rem;
      height: .22rem;
    }
  }
}

.btns-compute {
  display: grid;

  gap: 10px;

}

.material-density {
  li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;

    .material-density-val {
      width: 80px;
    }
  }

}

.copyright {
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.1rem;
  color: #72757D;
  height: .24rem;
  display: flex;
  align-items: center;
  padding-left: .13rem;
  text-align: center;
}

.image_guide {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-size: 100% auto;
  background-repeat: no-repeat;
  width: 10rem;
  height: 6.25rem;
}

.powderCompound_guide1 {
  background-image: url('~@/assets/images/powderCompound_guide1.png');
}

.powderCompound_guide2 {
  background-image: url('~@/assets/images/powderCompound_guide2.png');
}

.powderCompound_guide3 {
  background-image: url('~@/assets/images/powderCompound_guide3.png');
}

.closestPacking_guide1 {
  background-image: url('~@/assets/images/closestPacking_guide1.png');
}

.closestPacking_guide2 {
  background-image: url('~@/assets/images/closestPacking_guide2.png');
}

.closestPacking_guide3 {
  background-image: url('~@/assets/images/closestPacking_guide3.png');
}


.el-dialog-guide {
  display: flex;

  .step-btns {

    display: flex;
    margin-top: 5rem;
    margin-right: .52rem;
    gap: .16rem;

    .step-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: .78rem;
      height: .36rem;
      border-radius: 2px;
      font-size: .14rem;
      cursor: pointer;
    }

    .cancel-step {
      color: #6B6F7A;
    }

    .next-step {
      color: #fff;
      background: #535ADA;
    }

    .pre-step {
      color: #535ADA;
      background: #FFFFFF;
      border-radius: 2px;
      border: 1px solid #535ADA;
    }
  }



  ::v-deep {


    .el-dialog {
      display: flex;
      background-color: transparent;
      width: auto;
      margin: 0 auto;
      box-shadow: none;
      display: flex;
      flex-direction: column;
      margin: 0 !important;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);

    }

    .el-dialog__header {
      display: none;
    }

    .el-dialog__body {
      padding: 0;
      display: flex;
      flex: 1;
      overflow: auto;
    }
  }

}

.tips-content {
  width: 3rem;
  .tips-bold {
    font-weight: bold;
  }
}

.deltas-table {
  background: transparent!important;
  ::v-deep{
    thead {
      color: #fff;
    }
    th.el-table__cell {
      background-color: #A6A9E6!important;
    }
    td {
      background: transparent!important;
      border-bottom: 1px solid #DCDCDC!important;
    }
    tr {
      background: transparent!important;
    }
  }
}